/**
 * Visit数据传输对象
 *
 * @author sxf
 * @email sxf02615@163.com
 * @date 2025/1/15
 */
package com.sxf.crm.dto;


import java.time.LocalDateTime;
import java.util.List;

import lombok.Data;

/**
 * 拜访数据传输对象
 */
@Data
public class VisitDTO {
    private Long id;
    private String title;
    private String content;
    private Long visitTime;
    private String visitType;
    private String visitStatus;
    private String visitAddress;
    private String visitStatusName;
    private String visitTypeName;
    private String visitResult;
    private String nextPlan;
    private Long createAt;
    private Long updateAt;

    private String visitPurpose;
    // 客户信息
    private Long customerId;
    private String customerName;

    // 拜访人信息
    private Long userId;
    private String userName;

    // 协同人信息
    private List<Long> collaboratorIds;
    private List<String> collaboratorNames;

    // 格式化后的日期字符串
    private String formattedVisitTime;

}